package com.javasm.finance.dao;

import com.javasm.finance.entity.Prod;

import java.sql.SQLException;
import java.util.List;

public interface CheckDao {
    List<Prod> queryProd(Integer page, Integer pageSize, String prodName, String managerName, Integer prodState) throws SQLException;
    long findTotalNum(String prodName,String managerName,Integer prodState) throws SQLException;
    int deleteProd(Integer prodId) throws SQLException;
    Prod findByPid(Integer prodId) throws SQLException;
    int edit(Integer prodId) throws SQLException;
    int failed(Integer prodId) throws SQLException;
}
